<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name='yandex-verification' content='7e524239f94fb72e' />
<?php include_stylesheets() ?>
<?php include_javascripts() ?>

</head>
<body>
<div class="wrapper"><!-- Header block -->
<div id="header"><a href="/" class="logo" title="IPLIFE"></a>
<div class="date_banner"><noindex> <?php include_component('banners','get728x90')?></noindex>
<?php include_partial('default/topbarlinks')?></div>
<ul class="menu">
	<li
	<?php echo ($sf_context->getModuleName()=='default' && !$sf_user->getAttribute('s_page'))?"class='active'":''?>><?php echo link_to('Главная','default/index');?></li>
	<li
	<?php echo ($sf_context->getModuleName()=='news')?"class='active'":''?>><?php echo link_to('Новости','news/index');?></li>
	<li
	<?php echo ($sf_context->getModuleName()=='articles')?"class='active'":''?>><?php echo link_to('Статьи','articles/index');?><!-- a href="javascript://" onclick="$('#sub_articles').show()">Статьи</a--></li>
	<li
	<?php echo ($sf_context->getModuleName()=='releases')?"class='active'":''?>><?php echo link_to('Релизы','releases/index');?></li>
	<li
	<?php echo ($sf_context->getModuleName()=='tenders')?"class='active'":''?>><?php echo link_to('Тендеры','tenders/index');?></li>
	<li
	<?php echo ($sf_context->getModuleName()=='events')?"class='active'":''?>><?php echo link_to('Мероприятия','events/index');?></li>
	<li><a href="<?php echo url_for('default/index').'forum'; ?>">Форум</a></li>
	<li
	<?php echo ($sf_context->getModuleName()=='blogs')?"class='active'":''?>><?php echo link_to('Блоги','blogs/index');?></li>
</ul>
</div>

<?php include_component('default','articles_categories')?> <?php include_component('default','releases_categories')?>
<!-- Breadcrumbs -->
<ul class="breadcrumbs">
<?php include_component('default','breadcrumbs') ?>
</ul>

<!-- Main container -->
<div id="container_wide"><?php echo $sf_content ?></div>

<!-- Footer block --> <?php include_partial('default/footer')?></div>
</body>
</html>
